package com.jun.flower.service;

import com.jun.flower.bean.PageResult;
import com.jun.flower.bean.TbFlowers;
import com.jun.flower.bean.TbUser;

public interface UserService {
	TbUser getUserById(Integer id);
	TbUser getUserByUserName(String username);
	PageResult<TbUser> getUserList(Integer pageNum, Integer pageSize);
	boolean checkUsername(String username);
	void addUser(TbUser user);
	Boolean deleteUser(String ids);
	void updateUserById(TbUser user);
	TbUser loginUser(String username,String password);
	
}
